<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<title><?php wp_title(' - ', true, 'right'); bloginfo('name'); ?></title>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<?php if(of_get_option('enable_seo') == true) { ?>
<!--Begain Meta Tags For SEO-->
<?php if( is_home() || is_front_page() ) { ?>
<meta name="description" content="<?php bloginfo('description'); ?>" />
<meta name="keywords" content="<?php echo of_get_option('keywords'); ?>" />
<?php } elseif (is_single() || is_page() ) { if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<meta name="description" content="<?php the_excerpt_rss(); ?>" />
<?php csv_tags(); ?>
<?php endwhile; endif; wp_reset_query(); } ?>
<!--End Meta Tags For SEO-->
<?php } ?>
<meta property="og:title" content="<?php wp_title('', true, 'right'); ?>"/>
<meta property="og:type" content="article"/>
<meta property="og:url" content="<?php the_permalink(); ?>"/>
<?php if( is_home() || is_front_page() ) { ?>
<meta property="og:image" content="<?php if(of_get_option('logo') != '') { echo of_get_options('logo'); } else { echo MOM_IMG .'/logo.png';} ?>"/>
<meta property="og:description" content="<?php bloginfo('description'); ?>"/>
<?php } elseif (is_single() || is_page() ) { if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<meta property="og:image" content="<?php echo mom_post_image('large'); ?>"/>
<meta property="og:description" content="<?php the_excerpt_rss(); ?>"/>
<?php endwhile; endif; wp_reset_query(); } ?>
<meta property="og:site_name" content="<?php echo bloginfo('name'); ?>"/>
<?php
//Stylesheet
mom_create_stylesheet();
?>
<?php if(of_get_option('enable_responsive') != false) { ?> 
<link href='<?php echo get_template_directory_uri(); ?>/css/taner_main.css' rel='stylesheet' type='text/css'>
<link href='<?php echo get_template_directory_uri(); ?>/responsive.css' rel='stylesheet' type='text/css'>

<?php } ?>
<?php if(of_get_option('theme_skin') == 'dark') { ?>
<link href='<?php echo MOM_CSS; ?>/dark.css' rel='stylesheet' type='text/css'>
<?php } ?>
<link href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,400,300,600&subset=latin,cyrillic,cyrillic-ext' rel='stylesheet' type='text/css'>
<!-- Custom favicon -->
<?php if ( of_get_option('custom_favicon') != 'false') { ?>
<link rel="shortcut icon" href="<?php echo of_get_option('custom_favicon'); ?>" />
<?php } ?>

<!-- feeds, pingback -->
  <link rel="alternate" type="application/rss+xml" title="<?php bloginfo( 'name' ); ?> RSS Feed" href="<?php if (of_get_option('feedburner')!= false) { echo of_get_option('feedburner'); } else { bloginfo( 'rss2_url' ); } ?>" />
  <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<?php wp_head(); ?>
    <!--[if lt IE 9]>
<script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->

<?php include MOM_FW . '/option_js.php'; ?>
<?php include MOM_FW . '/option_css.php'; ?>
<script type="text/javascript" src="<?php echo MOM_JS; ?>/bootstrap.min.js"></script>
<script type="text/javascript" src="<?php echo MOM_JS; ?>/modernizr.custom.17192.js"></script>
<script type="text/javascript">
      Modernizr.load({
        test: Modernizr.cssgradients || Modernizr.borderradius,
        nope: '<?php echo MOM_JS; ?>/PIE.js',
      });
</script>
</head>
<body>
    <?php if ( is_page_template('fixed-home.php') ) { ?>
    <?php if ( of_get_option('fixed_bg') != false ) { ?>
    <img alt="Home" src="<?php echo of_get_option('fixed_bg');?>" id="full_bg">
    <?php } ?>
    <?php } else { ?>
<?php if(of_get_option('theme_layout') == 'fixed') { ?>
    <?php if ( of_get_option('fixed_bg') != false ) { ?>
<img alt="Home" src="<?php echo of_get_option('fixed_bg');?>" id="full_bg">
<?php } ?>
    <?php } ?>
    <?php } ?>
    <div class="fixed">
<?php include TEMPLATEPATH . '/alert-bar.php'; ?>
<div id="top" class="top_bar">
	<div id="headertop">
		<div class="inner">
		 <?php if ( has_nav_menu( 'topnav' ) ) { ?>
					 <?php  wp_nav_menu ( array( 'menu_class' => 'top_nav','container'=> 'ul', 'theme_location' => 'topnav' )); ?>
					 <?php } else { ?>
						<ul style="display:none;" class="top_nav">
						  <?php wp_list_pages(array(
							'title_li' => false
						  )); ?>
						 </ul> <!--Top Nav-->

		 <?php } ?>
			  <?php if ( has_nav_menu( 'topnav' ) ) { ?>
		 <div class="mobileTopMenu_wrap">
	  <?php  echo mom_top_mobile_menu(); ?>
		 </div>
		<?php } else { ?>
		 <div class="mobileTopMenu_wrap">
			  <?php wp_dropdown_pages(array(
				'name' => 'mobileTopMenu'
			  )); ?>
		 </div>
		 <?php } ?>
		  
			<?php if(of_get_option('top_social') == true) { ?>
			<?php include TEMPLATEPATH . '/top-social.php'; ?>
		<?php } else { ?>
		<div class="search_box" style="display:none;">
			<?php #include TEMPLATEPATH . '/searchform.php'; ?>
		</div> <!--Search Box-->
		<?php } ?>
		<?php include TEMPLATEPATH . '/bottom-social.php'; ?>
		</div> <!--End Inner-->
	</div>
</div> <!--End Topbar-->

<header id="header">
<div class="inner">

    <div class="teaser">
      <div class="mini-layout">
        <div class="mini-layout-body">
          <h1>Taner Yılmaz</h1>
          <h2>Web Arayüz Geliştirici</h2>
          <div class="karsilama">
            <span class="sol">{</span>
            <span class="sag">}</span>
              Merhaba, adım Taner. Web Arayüz Geliştiricisiyim.
              Uzun süredir yapmayı düşündüğüm sitemi nihayet teoriden pratiğe geçirdim.
              Aynı zamanda bu siteyi yaparak sürekli yenilenmekte olan 
              web teknolojilerinden bir kısmını kullanma fırsatım oldu. 
              Kullandığım teknolojiler: Modernzr, Less, Bootstrap, HTML5 ve CSS3. 
          </div>
        </div>
      </div>
        <div class="logo">
            <a href="<?php echo home_url(); ?>">
                <?php if(of_get_option('logo_img')){ ?>
                <img src="<?php echo of_get_option('logo_img'); ?>" alt="<?php bloginfo('name'); ?>" />
                <?php } else { ?>
                <img src="<?php echo MOM_IMG; ?>/logo.png" alt="<?php bloginfo('name'); ?>" />
                <?php } ?>
            </a>
        </div> <!--End Logo-->
    </div>
    <?php include TEMPLATEPATH . '/banner.php'; ?>
</div> <!--Inner-->
</header> <!--End Header-->
<nav id="navigation">
    <div class="nav_wrap">
    <div class="inner">
     <?php if ( has_nav_menu( 'main' ) ) { ?>
			     <?php  wp_nav_menu ( array( 'menu_class' => 'nav','container'=> 'ul', 'theme_location' => 'main' )); ?>
			     <?php } else { ?>
			     	<ul class="nav">
                    	<li class="home"><a href="<?php echo home_url(); ?>"><?php _e('Home', 'theme'); ?></a></li>
			     	  <?php wp_list_categories(array(
					  	'title_li' => false,
						'hierarchical' => 1
					  )); ?>
					  <li>
						<a href="<?php echo home_url(); ?>/iletisim">İLETİŞİM</a>
					  </li>
			     	 </ul> <!--Top Nav-->

     <?php } ?>
 <?php  echo mom_main_mobile_menu(); ?>    
   </div> <!--Inner-->
    </div> <!--End Nav Wrap-->
</nav> <!--End Navigation-->
<?php news_ticker() ?>